﻿namespace NET6.WebAPI.Attributes
{
    /// <summary>
    /// Bool 值特性: 用于存储枚举 Bool 描述
    /// </summary>
    [AttributeUsage(AttributeTargets.Field)]
    public class BoolValueAttribute : Attribute
    {
        public bool Value { get; }

        public BoolValueAttribute(bool value)
        {
            Value = value;
        }
    }
}
